/* 病友圈详情页面样式 */
.sick-circle-detail {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 80px; /* 为底部操作栏留出空间 */
}

/* 顶部导航栏吸顶样式 */
.sick-circle-detail :global(.adm-nav-bar) {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* 深色模式下的导航栏样式 */
@media (prefers-color-scheme: dark) {
  .sick-circle-detail :global(.adm-nav-bar) {
    background: rgba(31, 31, 31, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  }
}

/* 药品详情页面样式 */
.drug-detail {
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* 顶部导航栏吸顶样式 */
.drug-detail :global(.adm-nav-bar) {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.drug-detail-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f5f5f5;
}

.drug-detail-loading p {
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

.drug-error {
  padding: 40px 20px;
  text-align: center;
}

.drug-error p {
  color: #ff4d4f;
  margin-bottom: 16px;
  font-size: 16px;
}

.drug-error button {
  background-color: #1677ff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.drug-error button:hover {
  background-color: #0958d9;
}

.drug-disclaimer {
  background-color: #fff2f0;
  color: #cf1322;
  padding: 12px 16px;
  font-size: 12px;
  text-align: center;
  border-bottom: 1px solid #ffccc7;
  line-height: 1.4;
}

.drug-name {
  background-color: white;
  padding: 20px 16px;
  font-size: 20px;
  font-weight: 600;
  color: #262626;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 12px;
}

.drug-info-cards {
  padding: 0 16px 20px;
}

.info-card {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-title {
  background-color: #f0f9ff;
  color: #1677ff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #e6f4ff;
}

.card-content {
  padding: 16px;
  color: #595959;
  font-size: 14px;
  line-height: 1.6;
  background-color: white;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .drug-name {
    font-size: 18px;
    padding: 16px 12px;
  }
  
  .info-card {
    margin-bottom: 8px;
  }
  
  .card-title {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .card-content {
    padding: 12px;
    font-size: 13px;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .drug-detail {
    background-color: #141414;
  }
  
  .drug-detail-loading {
    background-color: #141414;
  }
  
  .drug-name {
    background-color: #1f1f1f;
    color: #f0f0f0;
    border-bottom-color: #303030;
  }
  
  .info-card {
    background-color: #1f1f1f;
  }
  
  .card-title {
    background-color: #111b26;
    color: #69b1ff;
    border-bottom-color: #1f2937;
  }
  
  .card-content {
    background-color: #1f1f1f;
    color: #d9d9d9;
  }
}

